import axios from '../common/js/util'
import { debug } from 'util';
export default {
    add({
        commit
    }){
        commit('ADD_ITEMNUM')
    },

    fetch({commit}){
        return axios.get('/musichall/fcgi-bin/fcg_yqqhomepagerecommend.fcg')
    },
    fetchData({commit}){  //拿到推荐音乐
        return axios.get('/v8/fcg-bin/fcg_v8_toplist_cp.fcg',{
            tpl: 3,
            page: "detail",
            date:"2019_10",
            topid: 29,
            type: "top",
            song_begin: 0,
            song_num: 30,
            g_tk: 5381,
            loginUin: 0,
            hostUin: 0,
            format: "json",
            inCharset: "utf8",
            outCharset: "utf-8",
            notice: 0,
            platform:"yqq.json",
            needNewCode: 0
        })
    }
   
}